package com.nf.health.app.models;

import java.io.Serializable;
import java.util.LinkedHashMap;

/** 
 * @ClassName: 手环  睡眠  实体类
 * @Description: TODO
 * @author Ian 
 * @date 2016-2-24 下午2:32:54 
 *  
 */
public class Sleep implements Serializable{


	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private String quality;
	private String sleepDuration;
	private String awakeDuration;
	private String lightDuration;
	private String deepDuration;
	private String totalDuration;
	private String awakeCount;
	private LinkedHashMap<String,Object> detail;
	public Sleep(String quality, String sleepDuration, String awakeDuration,
			String lightDuration, String deepDuration, String totalDuration,
			String awakeCount, LinkedHashMap<String, Object> detail) {
		super();
		this.quality = quality;
		this.sleepDuration = sleepDuration;
		this.awakeDuration = awakeDuration;
		this.lightDuration = lightDuration;
		this.deepDuration = deepDuration;
		this.totalDuration = totalDuration;
		this.awakeCount = awakeCount;
		this.detail = detail;
	}
	public String getQuality() {
		return quality;
	}
	public void setQuality(String quality) {
		this.quality = quality;
	}
	public String getSleepDuration() {
		return sleepDuration;
	}
	public void setSleepDuration(String sleepDuration) {
		this.sleepDuration = sleepDuration;
	}
	public String getAwakeDuration() {
		return awakeDuration;
	}
	public void setAwakeDuration(String awakeDuration) {
		this.awakeDuration = awakeDuration;
	}
	public String getLightDuration() {
		return lightDuration;
	}
	public void setLightDuration(String lightDuration) {
		this.lightDuration = lightDuration;
	}
	public String getDeepDuration() {
		return deepDuration;
	}
	public void setDeepDuration(String deepDuration) {
		this.deepDuration = deepDuration;
	}
	public String getTotalDuration() {
		return totalDuration;
	}
	public void setTotalDuration(String totalDuration) {
		this.totalDuration = totalDuration;
	}
	public String getAwakeCount() {
		return awakeCount;
	}
	public void setAwakeCount(String awakeCount) {
		this.awakeCount = awakeCount;
	}
	public LinkedHashMap<String, Object> getDetail() {
		return detail;
	}
	public void setDetail(LinkedHashMap<String, Object> detail) {
		this.detail = detail;
	}
	@Override
	public String toString() {
		return "Sleep [quality=" + quality + ", sleepDuration=" + sleepDuration
				+ ", awakeDuration=" + awakeDuration + ", lightDuration="
				+ lightDuration + ", deepDuration=" + deepDuration
				+ ", totalDuration=" + totalDuration + ", awakeCount="
				+ awakeCount + ", detail=" + detail + "]";
	}

}
